let baseURL = "";
if (process.env.NODE_ENV === 'development') {
  baseURL = 'api';
} else if (process.env.NODE_ENV === 'production') {
  baseURL = "https://gitee.com/buhuoblog/yltrip/mock/";
} else {
  baseURL = "";
}

export const commonApiUrl = {
  home: baseURL + "/home.json",
  hotels: baseURL + "/hotels.json",
  national: baseURL + "/national.json",
  city: baseURL + "/city.json"
}